import { useNavigate } from "react-router-dom";

function Logo(){
  const nav = useNavigate()
  return(
    <img
    onClick={()=>nav("/")}
      className="logo"
      src="https://img1.baidu.com/it/u=3234078200,328196019&fm=253&fmt=auto&app=120&f=PNG?w=500&h=750"  />
  )
}

export default Logo